cmake_minimum_required(VERSION 3.10)

project(Arcball)

set(CMAKE_CXX_STANDARD 17)

find_package(OpenGL REQUIRED)
# find_package(Glad REQUIRED)
find_package(glm REQUIRED)

include_directories(${OPENGL_INCLUDE_DIRS} ${GLAD_INCLUDE_DIRS} ${GLM_INCLUDE_DIRS})

add_executable(Arcball main.cpp
    Arcball.cpp
    Shader.cpp
    Util.cpp
)

target_link_libraries(Arcball ${OPENGL_LIBRARIES} ${GLAD_LIBRARIES} glfw)